Triage to optimal healthcare level